This method tells the SOAPMethod which socket to use when communicating with the SOAP service. If no socket is set, then one will be created and used when necessary.
Syntax |
|---|
|
SOAPMethod.UseSocket Socket |
Parameters |
|
|---|---|
|
Socket |
HTTPSocket or HTTPSecureSocket |
Notes
This method accepts either an HTTPSocket or an HTTPSecureSocket. Use this feature when you want to connect via a proxy or SSL connection by setting up the properties of the socket and then assigning it to the SOAPMethod.